package com.example.livingadminmaster.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.livingadminmaster.pojo.Dormitory;
import com.example.livingadminmaster.pojo.Faculty;

import java.util.List;

public interface DormitoryService extends IService<Dormitory> {
    List<Dormitory> getAllDormitories();
    Dormitory getDormitoryId(long dormitory_admin_id);
    Dormitory getDormitoryUsername(String username);
    List<Dormitory> getDormitoryGender(String gender);
    List<Dormitory> getDormitoryDormBuilding(String dormBuilding);
    int addDormitory(Dormitory dormitory);
    boolean deleteDormitory(long dormitory_admin_id);
    int updateDormitory(Dormitory Dormitory);
    boolean updateDormitoryStatus(long dormitory_admin_id, boolean status);
}
